Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

ext/sockets: adding SO_BUSY_POLL socket option for Linux. #17954

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

devnexen
Copy link
Member

@devnexen devnexen commented Mar 1, 2025

To possibly reduce the latency when polling packets by activating it from the network interface for N microseconds.
The kernel by doing so, increase the CPU(s) activity bound to the socket significantly.
Note that not only the kernel needs to have support enabled for it (which the average distribution usually does) but the network interface itself needs to support it too. If not, it is just a no-op.

To possibly reduce the latency when polling packets by activating it
from the network interface for N microseconds.
The kernel by doing so, increase the CPU(s) activity bound to
the socket significantly.
Note that not only the kernel needs to have support enabled for it
(which the average distribution usually does) but the network
interface itself needs to support it too. If not, it is just a no-op.
@devnexen devnexen force-pushed the socket_so_busy_poll branch from a002367 to 3ae0edc Compare March 1, 2025 18:44
@devnexen devnexen marked this pull request as ready for review March 1, 2025 18:46
@devnexen devnexen requested a review from kocsismate as a code owner March 1, 2025 18:46
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant